import request from "../utils/request";

// 首页崇礼印象
export const chongliImpression = (params) => request.post(`/index/impression/content/list`, params)
// 首页崇礼印象-崇礼印象标题
export const impressionTitleList = (type) => request.get(`/index/impression/title/list`)
// 必玩榜单
export const getListDetails = (params) => request.post(`/listDetailes/getListDetails`, params)
// 首页攻略
export const strategyList = (params) => request.post(`/index/strategyList`, params)
// 首页活动
export const activityList = (params) => request.post(`/index/activityList`, params)
//活动-活动分类
export const activityType = () => request.get(`/index/activityType`)
//活动-活动详情
export const activityInfo = (id) => request.get(`/index/activityInfo/${id}`)
// 新闻
export const newsList = (params) => request.post(`/index/newsList`, params)
//新闻-新闻详情
export const newsById = (id) => request.get(`/index/newsById/${id}`)
//首页-公告
export const announcement = (id) => request.get(`/index/announcement`)
//首页-轮播
export const slideshow = (id) => request.get(`/index/slideshow`)